//
//  BTCollectionBottomMenuView.m
//  BaxTer
//
//  Created by 陈武琦 on 16/9/2.
//  Copyright © 2016年 陈武琦. All rights reserved.
//

#import "BTCollectionBottomMenuView.h"

static BTCollectionBottomMenuView *view;

@implementation BTCollectionBottomMenuView


- (void)awakeFromNib  {
    [super awakeFromNib];
    self.layer.borderColor = [UIColor lightGrayColor].CGColor;
    self.layer.borderWidth = 1;
}



+ (instancetype)menuView{
    
    view =  [[NSBundle mainBundle] loadNibNamed:@"BTCollectionBottomMenuView" owner:nil options:0].lastObject;
    return view;
}

- (IBAction)selectBtnClick:(id)sender {
    if ([_delegate respondsToSelector:@selector(cwqMenuView:clickSelectBtn:)]) {
        [_delegate cwqMenuView:self clickSelectBtn:sender];
    }
    
    UIButton *btn = self.selectBtn;
}

- (IBAction)deleteBtnClick:(id)sender {
    if ([_delegate respondsToSelector:@selector(cwqMenuView:clickDeleteBtn:)]) {
        [_delegate cwqMenuView:self clickDeleteBtn:sender];
    }
}








@end
